package com.lin.blog.util;

import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

public final class DataManager {
	private static final EntityManagerFactory entityManagerFactory = Persistence
			.createEntityManagerFactory("transactions-optional");
	private DataManager() {
	}

	public static EntityManagerFactory get() {
		return entityManagerFactory;
	}
}
